package org.java.enumtest;

/**
 * 枚举测试类
 * Created by Administrator on 2016/12/9.
 */
public enum ModelExtType {
    BASEINFO(1, "基础信息"), RESULT(2, "结果信息"), PARAM(3, "参数信息"), RULE(4, "规则信息"), VALIDATION_LOG(
            100, "验证记录"), EXECUTE(200, "执行计划"), PUBLISH(300, "发布计划"), STEP1(
            101, "第一步完成信息"), STEP2(102, "结果表sql"), STEP3(10, "模型脚本"), STEP411(
            11, "结果监控"), STEP421(21, "技术评估"), STEP431(31, "业务评估"), STEP441(41,
            "进程监控"), HANGUP(969, "挂起信息"), VERSION_M(1000, "模型版本更新记录"), VERSION_P(
            1001, "脚本版本更新记录"), VERSION_I(1002, "指标版本更新记录"), MODEL_OWNER(9999,
            "模型添加人/拥有者"), STEP_CHANGE(1003, "模型任务变更记录");

    private final int value;
    private final String name;

    ModelExtType(int i, String n) {
        this.value = i;
        this.name = n;
    }

    public String getName() {
        return this.name;
    }

    public int getValue() {
        return this.value;
    }
}